﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ArticleList.ascx.cs"
    Inherits="HPortal.Module.ArticleList" %>
<link href="../App_Themes/DefaultTheme/Article.css" rel="stylesheet" type="text/css" />
<asp:GridView ID="grvLargeArticle" runat="server" AutoGenerateColumns="False" BorderStyle="None"
    ShowHeader="False" GridLines="None" Width="100%">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table class="ATable">
                    <tr>
                        <td class="ArticleHead">
                            <a class="ArticleTitle" href='<%# "default.aspx?url=Module/ArticleDetail.ascx&ArticleID=" + DataBinder.Eval(Container, "DataItem.ArticleID") + "&PanelID=" + this.PanelID + "&ChannelID=" + this.ChannelID %>'>
                                <%# DataBinder.Eval(Container, "DataItem.Title") %>
                            </a>
                            <br>
                            <%# this.WriteArticleImage(DataBinder.Eval(Container, "DataItem.TypeImage"), (int)DataBinder.Eval(Container, "DataItem.ArticleID"), "Module/ArticleDetail.ascx")%>
                            <%# DataBinder.Eval(Container, "DataItem.Head") %>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:GridView ID="grvSmallArticle" runat="server" AutoGenerateColumns="False" BorderStyle="None"
    ShowHeader="False" GridLines="None" Width="100%">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table class="ATable">
                    <tr>
                        <td>
                            <a class="SmallArticleTitle" href='<%# "default.aspx?url=Module/ArticleDetail.ascx&ArticleID=" + DataBinder.Eval(Container, "DataItem.ArticleID") + "&PanelID=" + this.PanelID + "&ChannelID=" + this.ChannelID %>'>
                                <%# DataBinder.Eval(Container, "DataItem.Title") %>
                            </a>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:LinkButton ID="cmdContinue" runat="server" CommandArgument="1/1/2050" Visible="False"
    CssClass="linkButton" OnClick="cmdContinue_Click"></asp:LinkButton>&nbsp;&nbsp;
